
<%
	String start = request.getParameter("start");

	String limit = request.getParameter("limit");

	try {

		int index = Integer.parseInt(start);

		int pageSize = Integer.parseInt(limit);

		String json = "{totalProperty:100,root:[";

		for (int i = index; i < pageSize + index; i++) {

			json += "{id:" + i + ",sex:'nan',name:'name" + i + "',desc:'desc"
					+ i + "'}";

			if (i != pageSize + index - 1) {

				json += ",";

			}

		}

		json += "]}";

		response.getWriter().write(json);

	} catch (Exception ex) {

	}
%>